|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
TODO javadoc
This interface is not intended to be extended or implemented by clients.
EXPERIMENTAL
ICommandServiceListener
Method Summary | |
void |
addCommandServiceListener(ICommandServiceListener commandServiceListener)
Registers an instance of ICommandServiceListener to
listen for changes to attributes of this instance. |
Set |
getActiveCommandIds()
Returns the set of identifiers to active commands. |
void |
removeCommandServiceListener(ICommandServiceListener commandServiceListener)
Unregisters an instance of ICommandServiceListener
listening for changes to attributes of this instance. |
void |
setActiveCommandIds(Set activeCommandIds)
Sets the set of identifiers to active commands. |
Method Detail |
public void addCommandServiceListener(ICommandServiceListener commandServiceListener)
ICommandServiceListener
to
listen for changes to attributes of this instance.
commandServiceListener
- the instance of ICommandServiceListener
to
register. Must not be null
. If an attempt is
made to register an instance of ICommandServiceListener
which is already registered with this instance, no operation
is performed.public Set getActiveCommandIds()
Returns the set of identifiers to active commands.
Notification is sent to all registered listeners if this attribute changes.
null
. If this
set is not empty, it is guaranteed to only contain instances of
String
.public void removeCommandServiceListener(ICommandServiceListener commandServiceListener)
ICommandServiceListener
listening for changes to attributes of this instance.
commandServiceListener
- the instance of ICommandServiceListener
to
unregister. Must not be null
. If an attempt
is made to unregister an instance of ICommandServiceListener
which is not already registered with this instance, no
operation is performed.public void setActiveCommandIds(Set activeCommandIds)
activeCommandIds
- the set of identifiers to active commands. This set may be
empty, but it must not be null
. If this set
is not empty, it must only contain instances of String
.
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |